"Chris B" <nom### [at] nomail com> wrote:
> The eval_pigment function can used to 'read' that colour from any pigment
> that you've assigned to an identifier.
Hum... I live and learn...
> > 2) What is the format of a pigment variable ? How can I extract each
> > component ?
>
> Pigments can be assigned to identifiers in the standard way. You can use
> eval_pigment to determine the colour at a specific location in the pigment.
> The color value returned by the eval_pigment function is a standard rgb
> colour value. You can index individual RGB colour components using the
> identifier suffixes red, green and blue. So something like:
.... and this likewise. So I bet there are .transmit and .filter suffixes
likewise?
> ps. It's more usual to see this sort of question on povray.newusers than on
> povray.advanced-users.
Hey, *I* didn't know these, and I wouldn't consider me a newbie these days ;)
Post a reply to this message
|